<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    	<meta  http-equiv="Content-Type" content="text/html; charset=utf-8" lang="pt_BR" />
    	
    	<meta name="description" content="" />
	    <meta name="keywords" content="" />
	    <meta name="robots" content="index,follow" />

        <title>Controle de Hospedagem - Cliente</title>
        
        <link type="text/css" rel="stylesheet" href="<?php echo $this->baseURL() ?>/assets/css/reset.css" media="all">
        <link type="text/css" rel="stylesheet" href="<?php echo $this->baseURL() ?>/assets/css/estilos.css" media="all">
        <link type="text/css" rel="stylesheet" href="<?php echo $this->baseURL() ?>/assets/css/linha.css" media="all">
        <link type="text/css" rel="stylesheet" href="<?php echo $this->baseURL() ?>/assets/css/popup.css" media="all">
        <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css" type="text/css" />
        
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseURL() ?>/assets/javascript/jquery.linha.framework.min.js"></script>
    </head>
<body>
<!-- Topo -->
<div id="topo">
	<h3>CHC</h3>
	<h4>Controle de Hospedagem e Clientes</h4>
<div class="clear"></div>
</div>

<?php if(Zend_Auth::getInstance()->getIdentity()): ?>
<ul id="dropdown" class="menu">
	<li><a href="<?php echo $this->baseURL(); ?>" title="link">Principal</a></li>
	<li><a href="<?php echo $this->baseURL(); ?>/cliente" title="link">Cliente</a></li>
	<li><a href="<?php echo $this->baseURL(); ?>/plano" title="link">Plano</a></li>
	<li><a href="<?php echo $this->baseURL(); ?>/hospedagem" title="link">Hospedagem</a></li>
	<li><a href="<?php echo $this->baseURL(); ?>/fatura" title="link">Fatura</a></li>
	<li><a href="<?php echo $this->baseURL(); ?>/pagamento" title="link">Pagamento</a></li>
	<li><a href="<?php echo $this->baseURL(); ?>/relatorio" title="link">Relatório</a></li>
	
	<div id="userinfo">
		<b>Usu&aacute;rio logado:</b> <?php echo Zend_Auth::getInstance()->getIdentity()->nome; ?>
		&nbsp;
		<a href="<?php echo $this->url(array('controller' => 'auth', 'action' => 'logout'), null, true); ?>">Sair</a>
	</div>
</ul>	
<?php endif; ?>

<!-- Conteúdo -->
<div id="conteudo">
	<script type="text/javascript">
	<?php $this->message = Zend_Controller_Action_HelperBroker::getHelper('FlashMessenger')->getMessages(); ?>
	var messageError = '<?php echo ( sizeof( $this->message ) > 0 ) ? $this->message[0] : ""; ?>';
	</script>
	<?php echo $this->layout()->content; ?>
<div class="clear"></div>
</div>

<div class="generic_dialog" id="fb-alert">
    <div class="generic_dialog_popup" style="top:125px;">
        <table class="pop_dialog_table" id="pop_dialog_table" style="width:500px;">
            <tbody>

                <tr>
                    <td class="pop_topleft" />
                    <td class="pop_border pop_top" />
                    <td class="pop_topright" />
                </tr>
                <tr>
                    <td class="pop_border pop_side" />
                    <td id="pop_content" class="pop_content" style="padding:10px;">
                        <div id="divAlertMsg" style="text-align:center;"><p>Esta é uma mensagem.</p></div>

                        <br />
                        <div style="position:relative; bottom:0px; right:0px; border-top:dotted 1px #cccccc; padding:5px; text-align:center;">
                            <a href="javascript:void(0);" onclick="fechaPopup('#fb-alert');" class="button small greenbrow">Fechar</a>
                        </div>
                    </td>
                    <td class="pop_border pop_side" />
                </tr>
                <tr>

                    <td class="pop_bottomleft" />

                    <td class="pop_border pop_bottom" />
                    <td class="pop_bottomright" />
                </tr>
            </tbody>
        </table>
    </div>
</div>

<noscript>
    <div id="mensagens">
        <div class="msgAlerta">
        <h4>Atenção</h4>
        <p>Aviso! O Javascript deve estar ativado para uma correta operação do sistema.</p>
        </div>
    </div>
</noscript>

<script type="text/javascript" src="<?php echo $this->baseURL() ?>/assets/javascript/init.js"></script>
<script type="text/javascript" src="<?php echo $this->baseURL() ?>/assets/javascript/popup.js"></script>
<script  type="text/javascript" src="http://www.mateussouza.com/adeus-ie6/jquery.adeus.ie6.min.js"></script>

</body>
</html>